package com.kung.qvs.entity;

import android.view.View;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

/**
 * 包粽员实体类
 */
@Entity
public class WorkerBean implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id(autoincrement = true)
    private Long _id;
    @Unique
    private String userId;
    private String deptId;
    private String userName;
    private String nickName;

    @Transient
    private String index;
    @Transient
    private String indexName;
    @Transient
    private int isSelectShow = View.GONE;

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    @Generated(hash = 828020842)
    public WorkerBean(Long _id, String userId, String deptId, String userName,
            String nickName) {
        this._id = _id;
        this.userId = userId;
        this.deptId = deptId;
        this.userName = userName;
        this.nickName = nickName;
    }
    @Generated(hash = 1128361111)
    public WorkerBean() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getDeptId() {
        return this.deptId;
    }
    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }
    public String getUserName() {
        return this.userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getNickName() {
        return this.nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getIsSelectShow() {
        return isSelectShow;
    }

    public void setIsSelectShow(int isSelectShow) {
        this.isSelectShow = isSelectShow;
    }
}
